{if $show_footer}
{if $this->footer['diymenu']}
{template 'designer/menu'}
{else}
<style>
.footer{position:fixed;bottom:0;width:100%;height:43px!important;border-top:1px solid #cecece;z-index:999; background:#f8f8f8;}
.footer .col-4{ width:23.7%;height:39px; padding-top:4px; padding-bottom:4px;text-align:center;color:#333;overflow:hidden}
.footer .col-5{ width:18.7%;height:39px; padding-top:4px; padding-bottom:4px;text-align:center;color:#333;overflow:hidden}
.footer .iconfont{font-size:22px; height:20px; line-height:20px;}
.footer h4{color:#333; font-size:12px; font-weight:normal; height:14px; line-height:14px; position:relative;}
.footer .active{ color:#fc4f08}
.footer .active h4{ color:#fc4f08}
.footer .icon-home, .footer .icon-apps, .footer .icon-choiceness, .footer .icon-cart, .footer .icon-my{background-color:#f8f8f8;}
</style>

<div class="show_footer"></div>
<div class="footer">
	<div class="grid">
		<a class="col-5" href="{php echo $this->createPluginMobileUrl('commission/myshop')}"><i class="iconfont icon-home"></i><h4>首页</h4></a>
		<a class="col-5" href="{php echo $this->createMobileUrl('shop/category',array('shopid'=>$shop['mid']))}"><i class="iconfont icon-apps"></i><h4>分类</h4></a>
		<a class="col-5" href="{php echo $this->createPluginMobileUrl('commission/index')}"><i class="iconfont icon-choiceness"></i><h4>分销中心</h4></a>
		<a class="col-5" href="{php echo $this->createMobileUrl('shop/cart')}"><i class="iconfont icon-cart"></i><h4>购物车</h4></a>
		<a class="col-5 active" href="{php echo $this->createMobileUrl('member')}"><i class="iconfont icon-my"></i><h4>个人中心</h4></a>
	</div>
</div>
{/if}
{/if}
{template 'common/footer_base'}